﻿#region "Author section"

//<remarks>
//===========================================================================
// Name: Variation Constants
// Pupose: To hold all the Constant variables used in Site Variation creation
// Construction Date: 10-Aug-2010
// Author:Kshitij Bishnoi
//===========================================================================
//</remarks>

# endregion

namespace SiteVariation
{
    /// <summary>
    /// Hold the Static classes for constant Variables
    /// </summary>
    public static class VariationConstants
    {
        /// <summary>
        /// Static Class Contain the Constants Variables to be used for Variation Settings
        /// </summary>
        public static class VariationSettingsProperties
        {
            public const string SOURCE_VARROOT_WEBTEMPLATE_PROPERTY_NAME = "SourceVarRootWebTemplatePropertyName";
            public const string ENABLE_AUTOSPAWN_PROPERTY_NAME = "EnableAutoSpawnPropertyName";
            public const string AUTO_SPAWN_STOP_AFTER_DELETE_PROPERTY_NAME = "AutoSpawnStopAfterDeletePropertyName";
            public const string UPDATE_WEBPARTS_PROPERTY_NAME = "UpdateWebPartsPropertyName";
            public const string COPY_RESOURCES_PROPERTY_NAME = "CopyResourcesPropertyName";
            public const string SEND_NOTIFICATION_EMAIL_PROPERTY_NAME = "SendNotificationEmailPropertyName";
        }

        /// <summary>
        /// Static Class Conatins the Constant variables for Feature Properties.
        /// </summary>
        public static class FeatureProperties
        {
            public const string CREATE_VARIATIONS = "CreateVariations";
            public const string LABEL = "Label-{0}";
            public const string LABEL_DISPLAY_NAME = "Label-{0}-DisplayName";            
            public const string LABEL_DESCRIPTION = "Label-{0}-Description";
            public const string LABEL_LANGUAGE = "Label-{0}-Language";
            public const string LABEL_LOCALE = "Label-{0}-Locale";
            public const string LABEL_IS_SOURCE = "Label-{0}-IsSource";            
            public const string VARIATION_HOME_URL = "VariationHomeUrl";
            public const string SOURCE_VARIATION_TEMPLATE_NAME = "SourceVariationTemplateName";
            public const string AUTOMATIC_CREATION_OF_SITES_PAGES = "AutomaticCreationOfSitesAndPages";
            public const string RECREATE_OR_DELETED_TARGET_PAGE = "RecreateOrDeletedOfTargetPage";
            public const string UPDATE_TARGET_PAGE_WEBPARTS = "UpdateTargetPageWebParts";
            public const string SEND_MAIL_NOTIFICATION = "SendEmailNotification";
            public const string COPY_RESOURCES = "CopyResources";
        }

        /// <summary>
        /// Static Class Contain the Constants Variable to be used for Variation Label Properties
        /// </summary>
        public static class VariationLabelProperties
        {
            public const string HIERARCHY_IS_CREATED = "Hierarchy Is Created";
            public const string TITLE = "Title";
            public const string DESCRIPTION = "Description";
            public const string FLAG_CONTROL_DISPLAY_NAME = "Flag Control Display Name";
            public const string LANGUAGE = "Language";
            public const string HIERARCHY_CREATION_MODE = "Hierarchy Creation Mode";
            public const string IS_SOURCE = "Is Source";
            public const string LOCALE = "Locale";
        }          
    }
}
